package com.asiainfo.demo.dao.idao;

import com.asiainfo.demo.dao.roles.Member;

import java.util.ArrayList;

public interface iMember {
    boolean insertMember(Member member) throws Exception;

    ArrayList<Member> findMemberByID(int ID) throws Exception;
    ArrayList<Member> findMemberByName(String name) throws Exception;
    ArrayList<Member> findMemberByJob(String job) throws Exception;
    ArrayList<Member> findMemberByAddr(String addr) throws Exception;
    ArrayList<Member> findAllMember() throws Exception;

    boolean changeValid(int memID, byte newStatus) throws Exception;
}
